package com.example.bgImageSear.user.entity;

public class CommentEntity {
    private int id;
    private int from_imgId;
    private String content;
    private int from_userId;
    private String userName;

    @Override
    public String toString() {
        return "CommentEntity{" +
                "id=" + id +
                ", from_imgId=" + from_imgId +
                ", content='" + content + '\'' +
                ", from_userId=" + from_userId +
                ", userName='" + userName + '\'' +
                '}';
    }

    public CommentEntity() {
    }

    public CommentEntity(int id, int from_imgId, String content, int from_userId, String userName) {
        this.id = id;
        this.from_imgId = from_imgId;
        this.content = content;
        this.from_userId = from_userId;
        this.userName = userName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getFrom_imgId() {
        return from_imgId;
    }

    public void setFrom_imgId(int from_imgId) {
        this.from_imgId = from_imgId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getFrom_userId() {
        return from_userId;
    }

    public void setFrom_userId(int from_userId) {
        this.from_userId = from_userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
